home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / IMED256.ARJ / IMED256.DOC next >
Text File  |  1991-04-06  |  4KB  |  119 lines

  1. IMED256
  2. -------
  3. By Nigel Salt (c) 1991
  4.  
  5. IMED256 is one of a family of products:
  6.  
  7. PCGRA (pcgdem.zip is the shareware version)
  8.       is a font/BitMap editor. It allows you to edit an image up
  9.       to 3x3 characters (24x48 pixels). It has a full range of
  10.       BitMap editing tools such as inversion, rotation,
  11.       mirroring, copying and moving blocks
  12.       You can save blocks of pixels in many ways one of which is
  13.       as a binary Microsoft image
  14.  
  15. 16to256 converts 16 colour images saved by PCGRA into 256 colour
  16.       images as used by IMED256. This utility is available only
  17.       to registered users of PCGRA.
  18.  
  19. IMED256 is a tools for colouring Microsoft images including those
  20.       saved by PCGRA. If you do not use PCGRA you can still use
  21.       IMED256 but you lose out on the sophisticated BitMap
  22.       editing tools in PCGRA.
  23.  
  24. GETTING STARTED
  25. ---------------
  26. Load up imed256 and you will find yourself at the main menu. To
  27. the left is a 24x48 empty grid. Below the menu is an array of the
  28. 248 colours supported by the VGA adapter. Your cursor is flashing
  29. in the colour box at the top left corner.
  30.  
  31. If you press an arrow key the cursor will move. Shifted arrow
  32. keys move the cursor further. Ctrl and the Home, PgUP, End, and
  33. PgDn keys takes you to a corner of the box.
  34.  
  35. Put the cursor on a colour that you like and press Tab.
  36.  
  37. You will now find a flashing cursor at the top left corner of the
  38. grid to the left of the screen. Cursor controls are just the same
  39. as they are in the colour box. Move around a bit if you like.
  40.  
  41. If you press SPACE,or INSERT, or ENTER the pixel under the cursor
  42. will change to the colour selected in the colour box. If you look
  43. at the box under the colour box you will see thet the pixel
  44. corresponding to your grid position has now been plotted.
  45.  
  46. If you press + the colour under the cursor will be increased by
  47. 1. Nothing happens to the colour box cursor unless you press F3.
  48. F3 moves the colour box cursor to the colour under your grid
  49. cursor.
  50.  
  51. If you now press - the colour under your grid cursor will be
  52. reduced by 1.
  53.  
  54. Plot a box of pixels. Move inside the box then press F2. Confirm
  55. your coice and you will see that the box is filled. Filling can
  56. be dangerous. If the area is not completely surrounded by the
  57. current colour then the fill will escape and obliterate your
  58. image.
  59.  
  60. Now Tab back to the colour box and select a new colour before
  61. Tabbing back to the grid. Position your cursor on one of the
  62. pixels in your box and press F1. You will see that all of the
  63. pixels that were the colour under the cursor are now the current
  64. colour.
  65.  
  66. If you now Tab back to the colour box you can save the image.
  67. Press F2 and follow the prompts. Tab to the grid
  68.  
  69. Make a few changes then Tab back to the colour box. Now press F1
  70. and follow the prompts to load the image that you saved.
  71.  
  72. That concludes the operation of IMED256 the remainder of tgis
  73. document explains the usage of the images that you create.
  74.  
  75. FILE FORMATS
  76. ------------
  77.  
  78. Both PCGRA and IMED256 can save images in Microsoft C image
  79. format but because the two programs operate in different video
  80. modes the format differs
  81.  
  82. Images saved in 640x480 16 colour mode by PCGRA have the following
  83. format:
  84. integer width  in pixels
  85. integer height in pixels
  86. for each row there are 4 planes representing Blue Green Red and
  87. Intensity.
  88. Each plane is (width+7)/8 bytes long
  89. To find the colour of a pixel you OR together the corresponding
  90. bits on each of the planes.
  91.  
  92. Images saved by IMED256 are in a much simpler format
  93. Integer width (pixels*8)
  94. Integer length pixels
  95. Block of length x width bytes
  96. Each byte is the colour information for a single pixel.
  97.  
  98. sp256c.c demonstrates the loading and display of images created
  99. by IMED256.
  100.  
  101.  
  102. I HOPE THAT YOU ENJOY MY PROGRAM
  103.  
  104. Nigel Salt
  105.  
  106. REGISTRATION
  107. ------------
  108. If you wish to continue using this product please send $25/£10 to
  109. the address below.
  110.  
  111. Nigel Salt
  112. 25 Lower Station Rd
  113. Crayford
  114. Kent
  115. DA1 3PY
  116. Phone 0322 553260
  117. CIX ID nao@cix.complink.co.uk
  118. RAX Nigel Salt on node 2:440/52.49
  119.